/*  1:   */ package org.jetbrains.debugger.values;
/*  2:   */ 
/*  3:   */

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.debugger.ObjectProperty;
import org.jetbrains.debugger.ValueModifier;
import org.jetbrains.debugger.VariableImpl;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */ 
/*  9:   */ public abstract class ObjectPropertyBase
/* 10:   */   extends VariableImpl
/* 11:   */   implements ObjectProperty
/* 12:   */ {
/* 13:   */   private final FunctionValue c;
/* 14:   */   private final FunctionValue d;
/* 15:   */   
/* 16:   */   protected ObjectPropertyBase(@NotNull String paramString, @Nullable Value paramValue, @Nullable FunctionValue paramFunctionValue1, @Nullable FunctionValue paramFunctionValue2, @Nullable ValueModifier paramValueModifier)
/* 17:   */   {
/* 18:14 */     super(paramString, paramValue, paramValueModifier);
/* 19:   */     
/* 20:16 */     this.c = paramFunctionValue1;
/* 21:17 */     this.d = paramFunctionValue2;
/* 22:   */   }
/* 23:   */   
/* 24:   */   public boolean isWritable()
/* 25:   */   {
/* 26:22 */     return true;
/* 27:   */   }
/* 28:   */   
/* 29:   */   @Nullable
/* 30:   */   public final FunctionValue getGetter()
/* 31:   */   {
/* 32:28 */     return this.c;
/* 33:   */   }
/* 34:   */   
/* 35:   */   @Nullable
/* 36:   */   public FunctionValue getSetter()
/* 37:   */   {
/* 38:34 */     return this.d;
/* 39:   */   }
/* 40:   */   
/* 41:   */   public boolean isConfigurable()
/* 42:   */   {
/* 43:39 */     return true;
/* 44:   */   }
/* 45:   */   
/* 46:   */   public boolean isEnumerable()
/* 47:   */   {
/* 48:44 */     return true;
/* 49:   */   }
/* 50:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.debugger.values.ObjectPropertyBase

 * JD-Core Version:    0.7.0.1

 */